package io.renren.modules.sys.controller;

import io.renren.modules.webofthing.OssService;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;
import java.util.Map;

/**
 * 上传Controller
 */
@RestController
@RequestMapping("oss")
public class UploadController {
    @Resource
    private OssService ossService;

    /**
     * oss上传文件
     *
     * @author <3417571131@qq.com>
     * @since 2021/6/17 10:07
     */
    @GetMapping("")
    public Map<String, Object> oss() {

        System.out.println("进入");
        return ossService.getMark();
    }

}